<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/commons/taglibs.jsp" %>
<%@ taglib prefix="sys" tagdir="/WEB-INF/tags" %>

<html>
<head>
    <jsp:include page="../../../commons/common-add.jsp"></jsp:include>
    <script type="text/javascript"
            src="${basePath}/statics/modules/sys/system/js/config_add.js"></script>
</head>
<body>
<sys:message msgContent="${message}"/>
<div class="col-md-6 box-body">
    <form id="inputForm" action="save_resource_config" method="post" class="form-horizontal"
          enctype="multipart/form-data">
        <input type="hidden" id="id" name="id"
               value="${ empty bdspDictionary.id ? 0 :bdspDictionary.id}"/>

        <div class="row form-group">
            <div class="col-sm-6">
                <label for="code" class="col-sm-4 control-label" style="width: 25%;">code:</label>
                <input type="text" readonly="readonly" style="width: 35%;display: inline;"
                       class="required form-control" id="code" name="code" value="logoImgPath">
            </div>
        </div>
        <div class="row form-group">
            <div class="col-sm-6">
                <label for="name" class="col-sm-4 control-label" style="width: 25%;">name:</label>
                <input type="text" style="width: 35%;display: inline;"
                       class="required form-control" id="name" name="name" placeholder="输入绝对路径">
            </div>
        </div>
        <div class="row form-group">
            <div class="col-sm-6">
                <label for="file" class="col-sm-4 control-label"
                       style="width: 25%;">name:</label>
                <input type="file" style="width: 35%;display: inline;" class="required form-control"
                       id="file" name="file" value="${bdspDictionary.name}">
            </div>
        </div>

        <div class="form-group" style="text-align: center;">
            <input id="btnSubmit" class="btn btn-primary" type="submit" value="保存"/>&nbsp;
        </div>
    </form>
</div>
</body>
</html>
